package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class RecommendOrder {

    @JSONField(name = "total")
    private int total;
    @JSONField(name = "size")
    private int size;
    @JSONField(name = "current")
    private int current;
    @JSONField(name = "pages")
    private int pages;
    @JSONField(name = "records")
    private List<RecordsDTO> records;

    @NoArgsConstructor
    @Data
    public static class RecordsDTO {
        @JSONField(name = "publishOrderId")
        private String publishOrderId;
        @JSONField(name = "nickName")
        private String nickName;
        @JSONField(name = "imageUrl")
        private String imageUrl;
        @JSONField(name = "serviceLevel")
        private String serviceLevel;
        @JSONField(name = "price")
        private String price;
        @JSONField(name = "unit")
        private String unit;
        @JSONField(name = "distance")
        private Object distance;
        @JSONField(name = "otherDesc")
        private String otherDesc;
        @JSONField(name = "imgs")
        private List<String> imgs;
        @JSONField(name = "showColor")
        private String showColor;
        @JSONField(name = "area")
        private String area;
        @JSONField(name = "time")
        private Object time;
        @JSONField(name = "gender")
        private Object gender;
        @JSONField(name = "category")
        private String category;
        @JSONField(name = "mid")
        private String mid;
    }

}
